package account

import (
	"gateway/model/validator"
)

type InfoRequest struct {
	Message string `json:"message" binding:"required"`
}

// GetMessages 自定义错误信息
func (InfoRequest InfoRequest) GetMessages() validator.Messages {
	return validator.Messages{
		"Message.required": "消息不能为空",
	}
}
